/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package d.colegio.model;

/**
 *
 * @author 15031598-0
 */
public class Alumno {
    
     private String rut, nombres, apellidos, sexo, asignatura ;
     private int n1,n2,n3,N1,N2,N3;
     

     
    public Alumno(String rut, String nombres, String apellidos, String sexo, String asignatura, int n1, int n2, int n3,int N1,int N2, int N3 ) 
    {
        this.rut = rut;
        this.nombres = nombres;
        this.apellidos = apellidos;
        this.sexo = sexo;
        this.asignatura = asignatura;
        this.n1= n1;
        this.n2 = n2;
        this.n3= n3;
        this.N1=N1;
        this.N2=N2;
        this.N3=N3;
        
    }
    
    public int calculopromedio(int promedio)
    {        
        promedio=n1*N1+n2*N2+n3*N3;
        return promedio;
    }

public String getRut() {
        return rut;
    }

    public String getNombres() {
        return nombres;
    }

    public String getApellidos() {
        return apellidos;
    }

    public String getSexo() {
        return sexo;
    }

    public String getAsignatura() {
        return asignatura;
    }
    
    public int getN1() {
        return n1;
    }

    public int getN2() {
        return n2;
    }

    public int getN3() {
        return n3;
    }

    public Object calculopromedio() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
    
    
    public Alumno(String rut, String nombres, String apellidos, String sexo, String asignatura, String nota1, String nota2, String nota3) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
}